// const { defineConfig } = require('@vue/cli-service')
// module.exports = defineConfig({
//   transpileDependencies: true
// })
module.exports = {
  pages: {
    index: {
      //入口
      entry: 'src/main.js',
    },
  },
	lintOnSave:false, //关闭语法检查
	devServer: {
    proxy: {
      '/api': {
        changOrigin: true, //允许跨域
        target: 'http://gmall-h5-api.atguigu.cn',
				pathRewrite:{'^/api':''},
      }
    }
  }
}